<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.11.0">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Heap</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<h1 class="unit">Unit Heap</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#%40Description">Description</a></td><td>uses</td><td><a class="section"  href="#%40Classes">Classes, Interfaces, Objects and Records</a></td><td><a class="section"  href="#%40FuncsProcs">Functions and Procedures</a></td><td><a class="section"  href="#%40Types">Types</a></td><td><a class="section"  href="#%40Constants">Constants</a></td><td><a class="section"  href="#%40Variables">Variables</a></td></tr></table>
<a name="%40Description"></a><h2 class="description">Description</h2>
&nbsp;<a name="%40Uses"></a><h2 class="overview">Overview</h2>
<a name="%40Classes"></a><h3 class="cio">Classes, Interfaces, Objects and Records</h3>
<table class="classestable wide_list">
<tr class="listheader">
<th class="itemname">Name</th>
<th class="itemdesc">Description</th>
</tr>
<tr class="list">
<td class="itemname">record&nbsp;<a class="bold"  href="Heap.TFooter.html"><code>TFooter</code></a></td>
<td class="itemdesc">&nbsp;</td>
</tr>
<tr class="list2">
<td class="itemname">record&nbsp;<a class="bold"  href="Heap.THeap.html"><code>THeap</code></a></td>
<td class="itemdesc">&nbsp;</td>
</tr>
</table>
<a name="%40FuncsProcs"></a><h3 class="summary">Functions and Procedures</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code>procedure <b><a   href="Heap.html#InstalluHeap">InstalluHeap</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>procedure <b><a   href="Heap.html#InstallkHeap">InstallkHeap</a></b>;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <b><a   href="Heap.html#MemAlloc">MemAlloc</a></b>(l: LongWord): Pointer;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <b><a   href="Heap.html#uMemAlloc">uMemAlloc</a></b>(l: LongWord): Pointer;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>procedure <b><a   href="Heap.html#MemFree">MemFree</a></b>(p: Pointer);</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>procedure <b><a   href="Heap.html#uMemFree">uMemFree</a></b>(p: Pointer);</code></td>
</tr>
</table>
<a name="%40Types"></a><h3 class="summary">Types</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code><b><a   href="Heap.html#UBit31">UBit31</a></b> = 0..(1 shl 31) - 1;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><b><a   href="Heap.html#PHeader">PHeader</a></b> = &circ;<a   href="Heap.html#THeader">THeader</a>;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><b><a   href="Heap.html#THeader">THeader</a></b> = bitpacked record
    Prev, Next: <a   href="Heap.html#PHeader">PHeader</a>;
    Allocated: Boolean;
    Length: <a   href="Heap.html#UBit31">UBit31</a>;
  end;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><b><a   href="Heap.html#PHeap">PHeap</a></b>=&circ;<a   href="Heap.THeap.html">THeap</a>;</code></td>
</tr>
</table>
<a name="%40Constants"></a><h3 class="summary">Constants</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code><b><a   href="Heap.html#uHeapStart">uHeapStart</a></b> = $A0000000;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><b><a   href="Heap.html#kHeapStart">kHeapStart</a></b> = $F0000000;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><b><a   href="Heap.html#uHeapEnd">uHeapEnd</a></b> = $efffffff;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><b><a   href="Heap.html#kHeapEnd">kHeapEnd</a></b> = $FFBFF000;</code></td>
</tr>
</table>
<a name="%40Variables"></a><h3 class="summary">Variables</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code><b><a   href="Heap.html#kHeapMax">kHeapMax</a></b>: LongWord = <a   href="Heap.html#kHeapStart">kHeapStart</a>;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><b><a   href="Heap.html#uHeapMax">uHeapMax</a></b>: LongWord = <a   href="Heap.html#uHeapStart">uHeapStart</a>;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><b><a   href="Heap.html#HeapFirst">HeapFirst</a></b>: <a   href="Heap.html#PHeader">PHeader</a> = nil;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><b><a   href="Heap.html#placementAddress">placementAddress</a></b>:longword;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><b><a   href="Heap.html#kHeap">kHeap</a></b>:<a   href="Heap.html#PHeap">PHeap</a>;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><b><a   href="Heap.html#uHeap">uHeap</a></b>:<a   href="Heap.html#PHeap">PHeap</a>;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><b><a   href="Heap.html#kernelEnd">kernelEnd</a></b>:longword; external name 'end';</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Functions and Procedures</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="InstalluHeap"></a><code>procedure <b>InstalluHeap</b>;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="InstallkHeap"></a><code>procedure <b>InstallkHeap</b>;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="MemAlloc"></a><code>function <b>MemAlloc</b>(l: LongWord): Pointer;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="uMemAlloc"></a><code>function <b>uMemAlloc</b>(l: LongWord): Pointer;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="MemFree"></a><code>procedure <b>MemFree</b>(p: Pointer);</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="uMemFree"></a><code>procedure <b>uMemFree</b>(p: Pointer);</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<h3 class="detail">Types</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="UBit31"></a><code><b>UBit31</b> = 0..(1 shl 31) - 1;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="PHeader"></a><code><b>PHeader</b> = &circ;<a   href="Heap.html#THeader">THeader</a>;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="THeader"></a><code><b>THeader</b> = bitpacked record
    Prev, Next: <a   href="Heap.html#PHeader">PHeader</a>;
    Allocated: Boolean;
    Length: <a   href="Heap.html#UBit31">UBit31</a>;
  end;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="PHeap"></a><code><b>PHeap</b>=&circ;<a   href="Heap.THeap.html">THeap</a>;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<h3 class="detail">Constants</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="uHeapStart"></a><code><b>uHeapStart</b> = $A0000000;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="kHeapStart"></a><code><b>kHeapStart</b> = $F0000000;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="uHeapEnd"></a><code><b>uHeapEnd</b> = $efffffff;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="kHeapEnd"></a><code><b>kHeapEnd</b> = $FFBFF000;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<h3 class="detail">Variables</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="kHeapMax"></a><code><b>kHeapMax</b>: LongWord = <a   href="Heap.html#kHeapStart">kHeapStart</a>;</code></td>
</tr>
<tr><td colspan="1">
<p>
Should extra pages requested by us be mapped as read-only?</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="uHeapMax"></a><code><b>uHeapMax</b>: LongWord = <a   href="Heap.html#uHeapStart">uHeapStart</a>;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="HeapFirst"></a><code><b>HeapFirst</b>: <a   href="Heap.html#PHeader">PHeader</a> = nil;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="placementAddress"></a><code><b>placementAddress</b>:longword;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="kHeap"></a><code><b>kHeap</b>:<a   href="Heap.html#PHeap">PHeap</a>;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="uHeap"></a><code><b>uHeap</b>:<a   href="Heap.html#PHeap">PHeap</a>;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="kernelEnd"></a><code><b>kernelEnd</b>:longword; external name 'end';</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.11.0</a> on 2013-10-12 18:10:06</em>
</span>
</body></html>
